package com.lambda.intel.impl;

import com.service.ICaculate;

@FunctionalInterface
public interface CaculateAsyn {

    public int getResult(int a,int b,int c,int d);
  //  public ICaculate ghu(int a,int b,int c,int d);

    public static ICaculate calculaResult(){
        return (h1,i1,x1,y1)->{
            return h1+i1+x1+y1;
        };
    }

    static int calculaResult(int i, int i1, int i2, int i3) {
        return i+i1+i2+i3;
    }

    static String calculaResult3(String i, String i1, String i2, String i3) {
        return i+i1+i2+i3;
    }

    static void calculaResult(int i) {
    }

    static int calculaResult3(int i, int i1, int i2, int i3) {
        return i+i1+i2+i3;
    }
}
